<extend name="Public/base"/>

<block name="body">
  <div class="main-title">
    <h2>库存警报</h2>
  </div>
  <form action="{:U('warning')}" method="post" class="form-horizontal">
    <div class="form-item">
      <label class="item-label">库存警报<span class="check-tips">（请填写0~255之间的数字。为0表示不警报。在商家中心首页店铺提醒中，如商品库存不足会提示您补充商品库存。）</span></label>
      <div class="controls">
        <input type="text" class="text input-large" name="alarm" value="{$data.storage_alarm|default=''}">
      </div>
    </div>
    <div class="form-item">
      <button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">确 定</button>
      <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
    </div>
  </form>
</block>

<block name="script">
  <script type="text/javascript">
    //导航高亮
    highlight_subnav("{:U('Item/warning')}");
  </script>
</block>